package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/3/8
 * Time: 14:14
 * Description:
 */
@Data
@TableName("t_job_concern")
@ApiModel(value = "TJobConcernEntity", description = "数据库-任务关注表")
public class TJobConcernEntity extends AbstractPageEntity {
    @TableId(value = "id")
    @ApiModelProperty(value = "主键", dataType = "String", notes = "主键")
    private String id;

    @TableField("job_id")
    @ApiModelProperty(value = "任务主键", dataType = "String", notes = "任务主键")
    private String jobId;

    @TableField("user_id")
    @ApiModelProperty(value = "用户id", dataType = "String", notes = "用户id")
    private String userId;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间", dataType = "String", notes = "创建时间")
    private Date createTime;
}
